package com.woniuxy.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @ClassName Dealtime
 * @Description 工时统计返回前端
 * @Author Joker
 * @Version 1.0.0
 **/
@Data
public class DtoDealtime implements Serializable {

    private static final long serialVersionUID = 1L;
    /*缺陷处理记录ID*/
    private Integer recordId;
    /*缺陷编号*/
    private Integer bugId;
    /*预计耗时*/
    private String ptime;
    /*实际耗时*/
    private Double rtime;
    /*开始处理时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date starttime;
    /*处理完成时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endtime;
    /*当前处理进度*/
    private String recordState;
    /*处理人*/
    private String dealbyName;
    /*处理进度文档下载地址*/
    private String fileAddress;
}
